package com.qj.yantaishan.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 商品分组对象 shanglala_product_group
 *
 * @author qihe
 * @date 2022-07-22
 */
public class ProductGroup {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    /** 商品分组id */
    private Integer groupId;

    /**
     * 店铺id
     */
    @Excel(name = "店铺id")
    private Integer storeId;

    /**
     * 分组名称
     */
    @Excel(name = "分组名称")
    private String groupName;

    /**
     * 显示商品分组名称
     */
    @Excel(name = "显示商品分组名称")
    private String isShowName;

    /**
     * 商品排序
     */
    @Excel(name = "商品排序")
    private String firstSort;

    /**
     * 商品排序
     */
    @Excel(name = "商品排序")
    private String secondSort;

    /**
     * 列表大小 0大图 1小图 2一大两小 3详细列表
     */
    @Excel(name = "列表大小 0大图 1小图 2一大两小 3详细列表")
    private String listStyleSize;

    /**
     * 列表样式 0卡片样式 1瀑布流 2极简样式
     */
    @Excel(name = "列表样式 0卡片样式 1瀑布流 2极简样式")
    private String listStyleType;

    /**
     * 显示价格
     */
    @Excel(name = "显示价格")
    private String isShowPrice;

    /**
     * 显示商品名 0不显示 1显示
     */
    @Excel(name = "显示商品名 0不显示 1显示")
    private String isShowProductName;

    /**
     * 显示购买按钮
     */
    @Excel(name = "显示购买按钮")
    private String isShowBuyButton;

    /**
     * 购买按钮样式 1样式1 2样式2 3样式3 4 样式4
     */
    @Excel(name = "购买按钮样式 1样式1 2样式2 3样式3 4 样式4")
    private String buyButtonStyle;

    /**
     * 商品标签简介
     */
    @Excel(name = "商品标签简介")
    private String groupLabel;

    /**
     * 商品数量
     */
    @Excel(name = "商品数量")
    private Integer productCount;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer hasCustom;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long addTime;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long sort;

    /**
     * 是否删除
     */
    @Excel(name = "是否删除")
    private Integer isDelete;

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setIsShowName(String isShowName) {
        this.isShowName = isShowName;
    }

    public String getIsShowName() {
        return isShowName;
    }

    public void setFirstSort(String firstSort) {
        this.firstSort = firstSort;
    }

    public String getFirstSort() {
        return firstSort;
    }

    public void setSecondSort(String secondSort) {
        this.secondSort = secondSort;
    }

    public String getSecondSort() {
        return secondSort;
    }

    public void setListStyleSize(String listStyleSize) {
        this.listStyleSize = listStyleSize;
    }

    public String getListStyleSize() {
        return listStyleSize;
    }

    public void setListStyleType(String listStyleType) {
        this.listStyleType = listStyleType;
    }

    public String getListStyleType() {
        return listStyleType;
    }

    public void setIsShowPrice(String isShowPrice) {
        this.isShowPrice = isShowPrice;
    }

    public String getIsShowPrice() {
        return isShowPrice;
    }

    public void setIsShowProductName(String isShowProductName) {
        this.isShowProductName = isShowProductName;
    }

    public String getIsShowProductName() {
        return isShowProductName;
    }

    public void setIsShowBuyButton(String isShowBuyButton) {
        this.isShowBuyButton = isShowBuyButton;
    }

    public String getIsShowBuyButton() {
        return isShowBuyButton;
    }

    public void setBuyButtonStyle(String buyButtonStyle) {
        this.buyButtonStyle = buyButtonStyle;
    }

    public String getBuyButtonStyle() {
        return buyButtonStyle;
    }

    public void setGroupLabel(String groupLabel) {
        this.groupLabel = groupLabel;
    }

    public String getGroupLabel() {
        return groupLabel;
    }

    public void setProductCount(Integer productCount) {
        this.productCount = productCount;
    }

    public Integer getProductCount() {
        return productCount;
    }

    public void setHasCustom(Integer hasCustom) {
        this.hasCustom = hasCustom;
    }

    public Integer getHasCustom() {
        return hasCustom;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Long getSort() {
        return sort;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("groupId", getGroupId())
                .append("storeId", getStoreId())
                .append("groupName", getGroupName())
                .append("isShowName", getIsShowName())
                .append("firstSort", getFirstSort())
                .append("secondSort", getSecondSort())
                .append("listStyleSize", getListStyleSize())
                .append("listStyleType", getListStyleType())
                .append("isShowPrice", getIsShowPrice())
                .append("isShowProductName", getIsShowProductName())
                .append("isShowBuyButton", getIsShowBuyButton())
                .append("buyButtonStyle", getBuyButtonStyle())
                .append("groupLabel", getGroupLabel())
                .append("productCount", getProductCount())
                .append("hasCustom", getHasCustom())
                .append("addTime", getAddTime())
                .append("sort", getSort())
                .append("isDelete", getIsDelete())
                .toString();
    }
}
